package com.xuwei.ext.design_pattern.command;

public class BuyStock implements Order {
	private Stock abcStock;
	
	@Override
	public void execute() {
		abcStock.buy();
	}
	
	public BuyStock(Stock abcStock){
		this.abcStock = abcStock;
	}
	

}
